package com.nancy.java_design.visitor.demo1;

public class Dog implements Animal {
    @Override
    public void accept(Visitor visitor) {
        visitor.feed(this);
        System.out.println("很好吃，汪汪汪。。。。。");
    }
}
